Rect Constructor

Initializes the rectangle with the given x, y, width and height values.
 

Parameters

x

Type: Number
The X value.
y

Type: Number
The Y value.
width

Type: Number
The width.
height

Type: Number
The height.